﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<SCB.Common.DTOProduct>" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
    <title>DisplayProduct</title>
    <link href="../../Content/ui.productdetail.css" rel="Stylesheet" type="text/css" />
    <link href="../../Content/ui.all.css" rel="Stylesheet" type="text/css" />
    <script type="text/javascript" src="../../Scripts/jquery-1.4.1.js"></script>
</head>
<body class="body">
    <% if (Model.IsAlive)
       { %>
    <iframe id="frameDetail" width="100%" height="100%" frameborder="0" src="<%: ViewData["Link"].ToString() %>"
        scrolling="yes"></iframe>
    <% }
       else
       { Html.RenderPartial("ProductDetailInner", Model); } %>
    <div class="dock-main">
        <div class="dock-content">
            <div class="fl">
                <ul>
                    <li class="bar search">
                        <% Html.RenderPartial("BarSearchUserControl"); %>
                    </li>
                </ul>
            </div>
            <div class="fr">
                <a><b>Cac san pham o gian hang khac</b></a></div>
            <div class="fr">
                <a><b>So Sanh</b></a></div>
        </div>
    </div>
    <script type="text/javascript">
        $(document).ready(function () {
            var bodyHeight = $(document).height();
            $("#frameDetail").attr('height', bodyHeight - 38);
        });
    </script>
</body>
</html>
